package com.gaohe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gaohe.mapper.RestoreMapper;
import com.gaohe.pojo.Classes;
import com.gaohe.pojo.Restore;
import com.gaohe.service.RestoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RestoreServiceImpl extends ServiceImpl<RestoreMapper, Restore> implements RestoreService {
    @Autowired
    private RestoreMapper restoreMapper;
    @Override
    public int save(Classes byId) {
        return restoreMapper.insert(byId);
    }
}
